package com.kotiln.lgc.lib_network.impl

import com.kotiln.lgc.lib_network.http.HttpUrl
import okhttp3.RequestBody
import okhttp3.ResponseBody
import retrofit2.Call
import retrofit2.http.*

/**
 *@fileName HttpImplService
 *@date2021/4/28  10:57
 *@author HttpImplService$
 *@describe TODO
 *@desc
 */
interface HttpImplService {

    //获取AlipayFacePay appid
    @Headers("Cache-Control:public,max-age=120")
    @GET(HttpUrl.ALIPAYPAY_APPID)
    fun getAppIdInfo(@Query("avm")avm:String): Call<ResponseBody>

    //获取Kind编号的接口
    @POST(HttpUrl.KIND_INTERFACE)
    fun getKindInfo(@Body body: RequestBody):Call<ResponseBody>

    //获取 百度 信息
    @GET(HttpUrl.BAIDU_BASE_URL)
    fun getBaiduInfo():Call<ResponseBody>
}